<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Http\Request;
use Auth;

class LoginController extends Controller
{
	use AuthenticatesUsers;

	//protected $redirectTo = '/admin';
	public function username()
    {
        return 'username';
    }
    
	protected function guard()
	{
		return Auth::guard('admin');
	}
}
